<template>
	<text>
		{{name}}
	</text>
</template>

<script>
	export default {
		props: {
			value: '',
			item: '',
			itemId: '',
			iri: '',
			code: ''
		},
		data() {
			return {
				name: "加载中..."
			}
		},
		methods: {

		},
		created() {
			this.$api.getRes(this.value, res => {
				this.name = res.name
			})
		},
		watch: {
			iri(val) {

			}
		}
	}
</script>

<style>

</style>
